package org.hxyjs.dao;

import org.hxyjs.entity.RecordOfUserLs;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface RecordOfUserLsDao {

    //查询全部
    public List<RecordOfUserLs> getAllRecordOfUserLss() throws Exception;

    //按主键查询
    public RecordOfUserLs getRecordOfUserLsByRnoulsno(String rnoulsno) throws Exception;

    //分页查询
    public List<RecordOfUserLs> getRecordOfUserLsByPage(PageInfo pageInfo) throws Exception;

    //增删改的返回值都是整数
    //增加
    Integer addRecordOfUserLs(RecordOfUserLs recordOfUserLs) throws Exception;

    //删除
    Integer deleteRecordOfUserLsByRnoulsno(String rnoulsno) throws Exception;

    //修改
    Integer updateRecordOfUserLsByRnoulsno(RecordOfUserLs recordOfUserLs) throws Exception;



}
